<include file="Public:header"/>
<div style="width:500px;margin:0 auto;margin-top:20px;text-align:center">
<div class="load" style="font-size:20pt;font-weight:bold;border:0px;color:#666666">
<h1>新订单提醒</h1>
<div style="font-size:14px;color:#FF0000">此处只监控新订单，要处理请选择未处理订单</div>
<span style="font-size:14px;color:#FF0000" class="loading"><img src="__APP__/statics/sen2.gif"></span>
</div>
<div class="admin">
	<input type="radio" name="admin" value="on" checked="checked" />扫描中
	<input type="radio" name="admin" value="off"/>停止
</div>

<div style="font-size:14px;border:1px solid #dedede;">
<volist name="order" id="order">
【{$i}】{$order.order_id}————{$order.create_time|date="Y-m-d H:i:s",###}</br>
</volist>
</div>
</div>

<script>
function getnums() {
 window.location.reload()
}   
$(document).ready(function(){   
var load=setInterval(getnums, 60000); 

 $("[name=admin]").click(function(){
    var sta=$(this).val();
	if(sta=='off'){
	   clearInterval(load);
	   $(".loading").html("已停止扫描");
	}else{
	   window.location.reload();
	}
})


});  

</script>

</body>
</html>